package com.ynet.middleground.riskmanage.bean.hangxin;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author songyf
 * @description 获取开票结果参数信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CommonNodes", description = "CommonNodes")
public class CommonNodes implements Serializable {

    private static final long serialVersionUID = -4798225019731960989L;
    @XStreamImplicit(itemFieldName = "COMMON_NODE")
    @ApiModelProperty(value = "推送方式信息", notes = "推送方式信息")
    private List<CommonNode> commonNode;

    @XStreamAsAttribute
    @XStreamAlias("SIZE")
    @ApiModelProperty(value = "数量", notes = "数量")
    private String size;
}
